export default {
    path: '/func',
    name: '功能',
    meta: {
        sort: 1,
        icon: 'icon-picture-fill'
    },
    component: () => import('@/components/Layout/index.vue'),
    children: [
        {
            path: 'img',
            name: '图片',
            meta: {
                sort: 15,
                icon: 'icon-picture-fill'
            },
            component: () => import('@/views/Func/Img/index.vue')
        },
        {
            path: 'print',
            name: '打印',
            meta: {
                sort: 2
            },
            component: () => import('@/views/Func/Print/index.vue')
        },
        {
            path: 'download',
            name: '下载',
            meta: {
                sort: 3
            },
            component: () => import('@/views/Func/Download/index.vue')
        },
        {
            path: 'exportExcel',
            name: '导出Excel',
            meta: {
                sort: 4
            },
            component: () => import('@/views/Func/ExportExcel/index.vue')
        },
        {
            path: 'debounceAndThrottle',
            name: '防抖节流',
            meta: {
                sort: 5
            },
            component: () => import('@/views/Func/DebounceAndThrottle/index.vue')
        },
        {
            path: 'drag',
            name: '拖拽',
            meta: {
                sort: 6
            },
            component: () => import('@/views/Func/Drag/index.vue')
        },
        {
            path: 'pdfView',
            name: 'pdf预览',
            meta: {
                sort: 6
            },
            component: () => import('@/views/Func/PdfView/index.vue')
        },
        {
            path: 'barcode',
            name: '条形码',
            meta: {
                sort: 7
            },
            component: () => import('@/views/Func/Barcode/index.vue')
        },
        {
            path: 'qrcode',
            name: '二维码',
            meta: {
                sort: 8
            },
            component: () => import('@/views/Func/Qrcode/index.vue')
        },
        {
            path: 'map',
            name: '地图',
            meta: {
                sort: 9
            },
            component: () => import('@/views/Func/Map/index.vue')
        },
        {
            path: 'video',
            name: '视频',
            meta: {
                sort: 10
            },
            component: () => import('@/views/Func/Video/index.vue')
        },
        {
            path: 'danmaku',
            name: '弹幕',
            meta: {
                sort: 11
            },
            component: () => import('@/views/Func/Danmaku/index.vue')
        },
        {
            path: 'infiniteScroll',
            name: '表格无限滚动',
            meta: {
                sort: 12
            },
            component: () => import('@/views/Func/InfiniteScroll/index.vue')
        },
        {
            path: 'typeit',
            name: '打字机',
            meta: {
                sort: 13
            },
            component: () => import('@/views/Func/Typeit/index.vue')
        },
        {
            path: 'sensitive',
            name: '敏感词过滤',
            meta: {
                sort: 14
            },
            component: () => import('@/views/Func/Sensitive/index.vue')
        },
        {
            path: 'edit',
            name: '编辑器',
            meta: {
                sort: 1
            },
            component: () => import('@/views/Func/Edit/index.vue')
        },
    ]
}